<?php $this->load->module('inc/home_made/jrheadercommon') ?>
	<!-- end -->
	<!-- 内容 -->
	<section class="content">
		<aside>
			<div>
				<?php
				 $this->load->module('inc/home_made/broadcastmod') ;
				 $this->load->module('inc/home_made/salemod') ;
				 ?>
			</div>
		</aside>
		<div class="c_body clearfix">
			<div class="c_intro">
				<h3 class="radius"><div class="r_r"><div class="r_c"><?php echo $data->title ?></div></div></h3>
				<?php echo $data->content ?>
				<p></p>
				<div id="map" style="width:100%;height:320px"></div>
			</div>
		</div>
	</section>
	<!-- end -->
	<!-- 通用尾 -->
	<?php $this->load->module('inc/home_made/jrfooter') ?>
	<!-- end -->
</body>
<script src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/favourite.js"></script>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.3"></script>
<script type="text/javascript">
var map;
$(function(){
	//地图
	map = new BMap.Map("map");

	map.enableScrollWheelZoom();

	//var map = new BMap.Map("container");          // 创建地图实例
	var point = new BMap.Point(	114.490987, 36.802564);  // 创建点坐标
	map.centerAndZoom(point, 12);                 // 初始化地图，设置中心点坐标和地图级别

	var marker = new BMap.Marker( point );
	
	
	map.addOverlay(marker);
	marker.openInfoWindow( new BMap.InfoWindow("<h2>邯郸市吉溶金属制品有限公司</h2>电话：0310-6813333 <br />手机13303001600") );


	map.addEventListener('click', func_click);


})

function func_click(){
	var p = map.getCenter();
	console.debug(p);
}
</script>
</html>